/**
 *<p>Copyright: CHINA NATIONAL SOFTWARE & SERVICE CO.,LTD.</p>
 */
package com.cssnb.wwxt.xxtx.service;

import java.util.List;
import java.util.Map;

/**
 * @Company: 中国软件与技术服务股份有限公司宁波子公司
 * @Project: 宁波市国税-外维系统
 * @Module ID:
 * @Description:
 * @JDK version used: JDK1.6
 * @Author: 卜繁晟
 * @Email: 5545795@qq.com | bufsh@css.com.cn
 * @Created Date: 2013-5-24 下午3:40:39
 */
@SuppressWarnings("rawtypes")
public interface IMsgService {

	public int addMessage(String title, String content, String url, String sender, String receiver, String sendTime, int type);
	public int delMessage(int msgId);
	public int updMessage(String title, String content, String url, String sender, String sendTime, int type, int msgId);
	public int getMessageCount(String sender, int type, String title, String content, String sendTimeBegin, String sendTimeEnd);
	public int getMessageCount(String receiver, int type);
	public int getMessageCount(String receiver, int type, String sendTimeBegin, String sendTimeEnd);
	public List getMessageList(String sender, int type, String title, String content, String sendTimeBegin, String sendTimeEnd);
	public List getMessageList(String receiver, int type);
	public List getMessageList(String receiver, int type, String sendTimeBegin, String sendTimeEnd);
	public Map getMessage(int msgId);
	public List getMessageReport();
	public String say(String word);
}